<?xml version="1.0" encoding="ISO-8859-1" ?>
<jsp:root version="1.2" xmlns:jsp="http://java.sun.com/JSP/Page"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ice="http://www.icesoft.com/icefaces/component">
	<jsp:directive.page contentType="text/html;charset=ISO-8859-1"
		pageEncoding="ISO-8859-1" />
	<f:view>
		<ice:outputDeclaration doctypeRoot="html"
			doctypePublic="-//W3C//DTD HTML 4.01 Transitional//EN"
			doctypeSystem="http://www.w3.org/TR/html4/loose.dtd" />
		<html>

			<head>
				<title>Ivas</title>
				<link rel="stylesheet" type="text/css"
					href="./xmlhttp/css/rime/rime.css" />
				<link rel="stylesheet" type="text/css" href="./css/Clases_Qs.css" />
          	    <script type="text/javascript" src="js/Funciones.js"></script>  
			</head>

			<body style="-rave-layout: grid" background="./Media/img/fondo.jpg">

				<table width="100%" cellpadding="0" cellspacing="0"
					style="vertical-align: top" border="0">
					<tr align="center">
						<td align="center" valign="top">
							<ice:panelGrid border="0" cellpadding="0" cellspacing="0">
								<jsp:directive.include file="Cabecera.jsp" />
							</ice:panelGrid>
						</td>
					</tr>
				</table>
				<table width="100%" cellpadding="0" cellspacing="0">
					<tr align="center">
						<td align="center" valign="top">
							<ice:panelGrid columns="2" cellspacing="0" cellpadding="0"
								border="0" columnClasses="Conf_panelgrid1">
								<ice:panelGrid width="220"
									style='background-image: url("./Media/img/fondo_tree.jpg"); background-repeat: no-repeat;'>
									<jsp:directive.include file="menutree.jsp" />
								</ice:panelGrid>
								<ice:panelGrid width="575">



									<ice:form partialSubmit="true" style='margin-left: 100px;'>
										<ice:panelGrid width="460"
											style='text-align: center; height: 40px; background-image: url("./Media/img/Titulo.gif"); background-position: center; background-repeat: no-repeat'>
											<ice:outputText value="PROPIEDADES DE  IVA"
												styleClass="tituloform" />
										</ice:panelGrid>
										<ice:panelGrid width="500"
											style='margin-left: 75px; text-align: center;'
											columnClasses="Conf_panelgrid1">
											<ice:panelGrid columns="2">
												<ice:outputText value="Codigo: " styleClass="qs_label" />
												<ice:inputText value="#{Ivab_MB.bcodigo}"
													actionListener="#{Ivab_MB.validaId}" disabled="#{!Ivab_MB.swnuevo}" 
													partialSubmit="true" tabindex="1" binding="#{Ivab_MB.txtCodigo1}"
													maxlength="4">
												</ice:inputText>
												<ice:outputText value="Nombre: " styleClass="qs_label" />
												<ice:inputText value="#{Ivab_MB.bnombre}"
													partialSubmit="true" id="nombre" tabindex="2"
													onkeydown="manejoEnterCambioCampo(Ice.EventModel.Event.adaptToKeyEvent(event,this));"
													binding="#{Ivab_MB.txtNombre}">
													<!-- <f:validator validatorId="validandoEmail" /> -->
												</ice:inputText>
												<ice:outputText value="Porcentaje: " styleClass="qs_label" />
												<ice:inputText value="#{Ivab_MB.bporcentaje}"
													onkeydown="manejoEnterCambioCampo(Ice.EventModel.Event.adaptToKeyEvent(event,this));"
													partialSubmit="true" binding="#{Ivap_MB.txtPorcentaje}" tabindex="3"
													id="Porcentaje">
												</ice:inputText>

												<ice:panelGrid columns="1"
													style="width: 73px; text-align: right">
													<ice:selectBooleanCheckbox value="#{Ivab_MB.bactivo}"
														tabindex="4" partialSubmit="true" />
												</ice:panelGrid>
												<ice:outputText value="Activo" styleClass="qs_label" />
											</ice:panelGrid>
											<ice:panelGrid columns="4">
												<ice:commandButton value="GUARDAR" styleClass="botonv"
													tabindex="5" action="#{Ivab_MB.action_GuardarIva}" />
												<ice:commandButton value="SALIR" styleClass="botonv"
													action="#{Ivab_MB.action_Cancelar}" />
											</ice:panelGrid>
											<ice:panelGrid style="width: 328px; text-align: left">
												<ice:messages id="msg" styleClass="Msg_config"
													style="width: 20px; height: 50px; color: #AA0000; text-align: left; font-family: Verdana, Arial, Sans-Serif; font-size: 10px" />
											</ice:panelGrid>
										</ice:panelGrid>
									</ice:form>


								</ice:panelGrid>
							</ice:panelGrid>
						</td>
					</tr>
				</table>
			</body>
		</html>
	</f:view>
</jsp:root>